#encoding: UTF-8

import configparser

from sim.singleton import Singleton


config = configparser.ConfigParser()
config.read('./data/settings.ini', encoding = 'utf-8')


class Settings(metaclass = Singleton):

    def __init__(self):
        self.width = config.getint('sim', 'width')
        self.height = config.getint('sim', 'height')


settings_info = Settings()
